package com.park.microprofile.converter;


import org.eclipse.microprofile.config.spi.Converter;

/**
 * Integer 类型转换器
 *
 * @author Aaron
 * @date 2021/7/13 15:34
 */
public class IntegerConverter implements Converter<Integer> {

    @Override
    public Integer convert(String value) throws IllegalArgumentException, NullPointerException {
        return Integer.valueOf(value);
    }
}
